﻿<!--
    
/* ****************************************************************************
 *
 * Copyright (c) Microsoft Corporation. 
 *
 * This source code is subject to terms and conditions of the Microsoft Public License. A
 * copy of the license can be found at http://go.microsoft.com/fwlink/?LinkID=131993. If
 * you cannot locate the Microsoft Public License, please send an email to
 * mixon@microsoft.com. By using this source code in any fashion, you are agreeing to
 * be bound by the terms of the Microsoft Public License.
 *
 * You must not remove this notice, or any other, from this software.
 *
 *
 * ***************************************************************************/
    
-->
<UserControl x:Class="MIXOnline.Descry.IsolatedStorageSizeDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="299" d:DesignHeight="299"
    Width="300"
    >
    <Grid>
        <Grid x:Name="Dialog" >
            <Grid.RowDefinitions>
                <RowDefinition Height="25"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
        	<Rectangle RadiusX="5" RadiusY="5" Stroke="#77000000" Fill="#8C000000" Grid.RowSpan="2" Margin="0,0,0,82"/>
        	<Button HorizontalAlignment="Right" x:Name="buttonClose" Grid.Row="0" Content="X" Click="buttonClose_Click" Margin="5" Width="15" Padding="0,0,0,1" Background="Red" Style="{StaticResource ButtonStyle}" />
            <StackPanel Grid.Row="1" x:Name="LayoutRoot" Margin="0,8,2,95">
            	<TextBlock TextWrapping="Wrap" Margin="10,10,10,20" Text="We cache data on your hard disk to improve your experience. Increasing the size of this cache will provide you with a better experience and doesn't harm your computer in any way. Would you like to do this?" FontFamily="Arial" Foreground="#63FFFFFF" FontSize="14" FontWeight="Normal" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"/>
                <Button x:Name="buttonStorage" Content="Yes" Click="buttonStorage_Click" Width="180" Height="25" Style="{StaticResource ButtonStyle}" Foreground="#FFB9B9B9"/>
				<Button x:Name="buttonStorageNo" Content="No, Thanks." Click="buttonStorageNo_Click"  Width="180" Height="25" Style="{StaticResource ButtonStyle}" Foreground="#FFB9B9B9" Margin="0,5,0,0"/>
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>
